StoreHomepage = {};
// 店铺评分
$(".shop-score-drop").each(function () {
    $(this).on("click", function () {
        if ($(".shop-score").css("display") == "none") {
            $(".shop-score").css("display", "block");
        } else {
            $(".shop-score").css("display", "none");
        }
    });
})
// 轮播图配置
StoreHomepage.bannerInit = function (obj) {
    $(".shop-fullSlide").slide({
        titCell: ".shop-hd ul",
        mainCell: ".shop-bd ul",
        effect: "leftLoop",
        vis: "auto",
        autoPlay: true,
        autoPage: true,
        trigger: "click"
    });
}
StoreHomepage.bannerInit(this);

$(".shop-search-input").on("focus", function () {
    $(".shop-hot-search").css("display", "none")
}) 

$(".shop-search-input").on("focusout", function () {
    if($(".shop-search-input").val() == ""){
        $(".shop-hot-search").css("display", "block")
    }
}) 